package com.mgg.common.client.order;

import com.mgg.common.vo.ResultVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: lijun
 * @Date: 2018/9/17 11:35
 */
@FeignClient(value = "order-api", fallback = OrderApiClientFallback.class)
public interface OrderApiClient {
    @RequestMapping(value="/order/order/store/addorder", method = RequestMethod.GET)
    public ResultVO<?> addStoreOrder(@RequestParam("user_id") String userId, @RequestParam("shopCode") String shopCode, @RequestParam("store_code") String storeCode);

}
